package com.jsj.bs.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (TbEssay)实体类
 *
 * @author makejava
 * @since 2020-01-14 14:43:23
 */
@Data
public class TbEssay implements Serializable {
    private static final long serialVersionUID = 203524111865782828L;
    //文章id
    private Integer essayId;
    //文章标题
    private String essayTitle;
    //文章作者
    private String essayAuthor;
    //文章简介
    private String essayBrief;
    //文章内容
    private String essayContent;
    //文章来源
    private String essaySource;
    //文章配图
    private String essayImg;
    //文章配图
    private String essayImg2;
    //文章配图
    private String essayImg3;
    //添加时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    //状态 0允许展示 1不允许展示
    private Boolean hasAllow;
    //不允许展示的原因
    private String noReason;
    //是否删除 0已删除 1未删除
    private Boolean isDeleted;
    //类型  1电脑入门类 2常见故障类 3IT资讯类
    private Integer essayType;


}